package com.ks.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 许可
 *
 * @author KingAusten
 * @date 2022/08/17 17:49:17
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Permission{

    /**
     * 角色
     *
     * @return {@link String}
     */
    String role() default "";

}
